#include "shogiregistry.h"

ShogiRegistry* ShogiRegistry::m_pInstance = 0;// initialize pointer

ShogiRegistry* ShogiRegistry::instance() 
{
	if (m_pInstance == NULL)
		m_pInstance = new ShogiRegistry();

	return m_pInstance;
}

void ShogiRegistry::outputServerStatus(QString str)
{
	if (m_pParent != NULL)
	{
		m_pParent->outputServerStatus(str);
	}
}